package com.ruoyi.third.domain;

import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 告警事件对象 third_event
 * 
 * @author yepanpan
 * @date 2025-02-06
 */
@Data
public class ThirdEvent extends BaseEntity
{
    public static final String STATE_CREATE = "1";
    public static final String STATE_CANCEL = "2";
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 告警类型 */
    @Excel(name = "告警类型")
    @NotNull
    private String alarmType;

    /** 当前告警事件源代码 */
    @Excel(name = "当前告警事件源代码")
    @NotNull
    private String sourceCode;

    /** 产生告警事件源厂商 */
    @Excel(name = "产生告警事件源厂商")
    @NotNull
    private String vendorCode;

    /** 厂商告警事件描述 */
    @Excel(name = "厂商告警事件描述")
    @NotNull
    private String comment;

    /** 告警状态：1产生，2撤销 */
    @Excel(name = "告警状态：1产生，2撤销", dictType="event_state", comboReadDict=true)
    @NotNull
    private String alarmState;

    /** 状态开关：json */
    @Excel(name = "状态开关：json")
    private String switchState;


}
